package com.test.ssm.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.test.ssm.pojo.Provider;

@Mapper
public interface ProviderDao {
    int insert(@Param("pojo") Provider pojo);

    int update(@Param("pojo") Provider pojo);

    List<Provider> getProviderList(String name);

    List<Provider> getProName();

    Provider getProviderById(Integer id);

    void deleteById(Integer id);
}
